package com.tianshu.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.tianshu.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 客户经理表
 * </p>
 *
 * @author liaojie
 * @since 2021-11-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_biz_manager")
public class TBizManager extends BaseEntity {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String bankCode;

    private String version;

    private String createUserId;

    private LocalDateTime createTime;

    private String updateUserId;

    private LocalDateTime updateTime;

    /**
     * 客户经理ID
     */
    private String mgrId;

    /**
     * 客户经理姓名
     */
    private String mgrName;

    /**
     * 客户经理证件号
     */
    private String mgrIdNbr;

    /**
     * 客户经理级别
     */
    private String mgrLevel;

    /**
     * 客户经理分支行代码
     */
    private String branchCode;

    /**
     * 客户经理电话
     */
    private String mgrTel;

    /**
     * 客户经理微信标识
     */
    private String mgrOpenId;

    /**
     * 工号
     */
    private String mgrJobId;

    /**
     * 二维码base64字符串
     */
    private String imgCode;

    /**
     * 二维码路径
     */
    private String imgPath;

    /**
     * 高风险标记 0:不是，1:是
     */
    private Integer highRiskMarket;

    /**
     * 人像照路径
     */
    private String portraitPath;

    /**
     * 小程序使用标记 0:使用，1:停止使用
     */
    private Integer appMarket;


    public static final String ID = "id";

    public static final String BANK_CODE = "bank_code";

    public static final String VERSION = "version";

    public static final String CREATE_USER_ID = "create_user_id";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_USER_ID = "update_user_id";

    public static final String UPDATE_TIME = "update_time";

    public static final String MGR_ID = "mgr_id";

    public static final String MGR_NAME = "mgr_name";

    public static final String MGR_ID_NBR = "mgr_id_nbr";

    public static final String MGR_LEVEL = "mgr_level";

    public static final String BRANCH_CODE = "branch_code";

    public static final String MGR_TEL = "mgr_tel";

    public static final String MGR_OPEN_ID = "mgr_open_id";

    public static final String MGR_JOB_ID = "mgr_job_id";

    public static final String IMG_CODE = "img_code";

    public static final String IMG_PATH = "img_path";

    public static final String HIGH_RISK_MARKET = "high_risk_market";

    public static final String PORTRAIT_PATH = "portrait_path";

    public static final String APP_MARKET = "app_market";

}
